<?php

namespace App\Http\Requests\Auth;

use App\Http\Requests\Request;

class WechatLoginRequest extends Request
{
    public function rules(): array
    {
        return [
            'code' => 'required|string'
        ];
    }

    public function attributes(): array
    {
        return [
            'code' => '授权码',
        ];
    }
}
